package cn.bdqn.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cn.bdqn.dto.AppInfoDTO;
import cn.bdqn.service.AppInfoService;
import cn.bdqn.util.ResultVoUtil;
import cn.bdqn.vo.ResultVo;

@RestController
public class AppInfoController {
   @Autowired
   private AppInfoService appInfoService;
   @RequestMapping(value="/appInfo/fiandAppDownloadTop7",method=RequestMethod.GET)
   public ResultVo findAppDownLoadTop7(){
	   List<AppInfoDTO> result=appInfoService.fiandDownLoadsTop7();
	   return ResultVoUtil.success(result);
   }
}
